<template>
  <div class="rwfrom">
    <div class="list">
      <div class="fromleft">
        <div class="radius">
          <span></span>
          <span>失败任务详情</span>
        </div>
        <form>
          <div class="formlist" v-for="(item,index) in 5" :key="index">
            <input type="checkbox" />
            <span>任务{{index}}</span>
          </div>
        </form>
      </div>
      <div class="center"></div>
      <div class="fromright">
        <div class="radius">
          <span></span>
          <span>24小时的任务详情</span>
        </div>
        <form>
          <div class="formlist" v-for="(item,index) in 5" :key="index">
            <input type="checkbox" />
            <span>任务{{index}}</span>
          </div>
        </form>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {};
  },
  //生命周期 - 创建完成
  created() {},

  //DOM挂载完毕
  mounted() {},
  methods: {}
};
</script>

<style lang='less' scoped>
.rwfrom {
  background-color: #fff;
  padding: 26px;
  
  
  .list {
    display: flex;
   

    //   border-bottom: ;
    .fromleft {
      flex: 1;
      border: 1px solid #87eee3;
      padding: 0 18px 30px 18px;
      border-radius: 5px;
       box-shadow: 0 2px 5px #87eee3;
      .radius {
        height: 44px;
        line-height: 44px;
        span {
          &:nth-of-type(1) {
            display: inline-block;
            border-radius: 50%;
            width: 14px;
            height: 14px;
            background-color: #03ddb6;
          }
          &:nth-of-type(2) {
            margin-left: 10px;
            font-size: 14px;
          }
        }
      }

      form {
        .formlist {
          height: 28px;
          border: 1px solid #ddd;
          //   line-height: 28px;
          margin-bottom: 12px;
          display: flex;
          align-items: center;
          &:hover{
            background-color: #ddd;
            color: #3498ff;
            font-weight: 600;
            cursor: pointer;
          }
          input {
            margin-left: 12px;
            margin-right: 5px;
          }
          span {
            font-size: 12px;
          }
        }
      }
    }
    .center {
      width: 16px;
    }

    .fromright {
      flex: 1;
      border: 1px solid #87eee3;
      padding: 0 18px 30px 18px;
      border-radius: 5px;
       box-shadow: 0 2px 5px #87eee3;
      
      .radius {
        height: 44px;
        line-height: 44px;
        span {
          &:nth-of-type(1) {
            display: inline-block;
            border-radius: 50%;
            width: 14px;
            height: 14px;
            background-color: #03ddb6;
          }
          &:nth-of-type(2) {
            margin-left: 10px;
            font-size: 14px;
          }
        }
      }

      form {
        .formlist {
          height: 28px;
          border: 1px solid #ddd;
          display: flex;
          align-items: center;
          margin-bottom: 12px;
           &:hover{
            background-color: #ddd;
            color: #3498ff;
            font-weight: 600;
            cursor: pointer;
          }
          input {
            margin-left: 12px;
            margin-right: 5px;
          }
          span {
            font-size: 12px;
          }
        }
      }
    }
  }
}
</style>